package com.webank.maling.base.model;

import lombok.Getter;

/**
 * 节点类型枚举
 */
@Getter
public enum NodeType {
    FILE("file"),
    CLASS("class"),
    FUNCTION("function"),
    COMMENT("comment"),
    ANNOTATION("annotations"),
    MARKER_ANNOTATION("marker_annotations"),
    FIELD("field"),
    RPC_INTERFACE("rpc_interface"),      // RPC接口节点
    RPC_IMPLEMENTATION("rpc_implementation"), // RPC实现节点
    ;

    private final String value;

    NodeType(String value) {
        this.value = value;
    }

}
